import { createApp } from 'vue'
import './style.css'
import './assets/css/reset.css'
import "@/assets/icons/iconfont.css"
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css'
import App from './App.vue'
import router from './routers'
import pinia from './stores';

const app = createApp(App);
// 全局引入所有 Ant Design Vue 图标
import * as AntIcons from '@ant-design/icons-vue';
// 注册为全局组件
Object.keys(AntIcons).forEach(key => {
    app.component(key, AntIcons[key]);
  });
//  import dataV from '@jiaminghi/data-view';
import DataVVue3 from '@kjgl77/datav-vue3'
app.use(router).use(Antd).use(pinia).use(DataVVue3).mount('#app');
